/*
 * This class make it possible for classes to just make one object to exists 
 */

package cth.tda367.beavers.glossaryGame.model;

import cth.tda367.beavers.glossaryGame.IO.TextReader;
import cth.tda367.beavers.glossaryGame.model.plugin.HangmanGame;
import cth.tda367.beavers.glossaryGame.model.plugin.OrdinaryWordGame;
import cth.tda367.beavers.glossaryGame.view.OrdinaryGameView;

public class GameFactory {
	private static final GameFactory INSTANCE = new GameFactory ();
	
	
	public static GameFactory getInstance() {
		return INSTANCE;
	}
	
	public OrdinaryWordGame getOrdinaryWordGame (WordList wordList){
		return new OrdinaryWordGame(wordList);
	}
	
	public HangmanGame getHangmanGame (WordList wordList) {
		return new HangmanGame(wordList);
	}
	
	
	
}
